home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11568 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: news.iadfw.net!usenet
  2. From: Larry Weiss <lfw@iadfw.net>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Example of an unintelligible program in C
  5. Date: Sun, 24 Mar 1996 19:46:09 -0600
  6. Organization: customer of Internet America
  7. Message-ID: <3155FAE1.53C2@iadfw.net>
  8. References: <4iegj7$evn@bee.uspnet.usp.br> <4if0i4$qsm@garden.csc.calpoly.edu> <4ij8je$lb9@charm.il.ft.hse.nl> <4iq67bINN3gs@keats.ugrad.cs.ubc.ca> <827712727snz@genesis.demon.co.uk>
  9. NNTP-Posting-Host: dal25-03.ppp.iadfw.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.01 (Win16; I)
  14.  
  15. Lawrence Kirby wrote:
  16.  > 
  17.  > In article <4iq67bINN3gs@keats.ugrad.cs.ubc.ca>
  18.  >            c2a192@ugrad.cs.ubc.ca "Kazimir Kylheku" writes:
  19.  > 
  20.  > >The square root example given in the earlier posting employs a variable whose
  21.  > >name is the underscore character. Oops.
  22.  > 
  23.  > That's OK in this case since the identifier has block scope and the
  24.  > underscore is not followed by an uppercase letter or another underscore
  25.  > (and its not a full moon etc.)
  26.  > 
  27.  > >What about the use of putchar without having included <stdio.h>, hmm?
  28.  > 
  29.  > Since putchar() returns int, has a fixed argument list and no agrument
  30.  > undergoes default argument promotion, that's fine.
  31.  > 
  32.  > >The exit status is undefined, also.
  33.  > 
  34.  > Bad style perhaps but it is permitted by the standard.
  35.  > 
  36.  
  37.  
  38. Talk about being "lucky" !    It's like those silent films where the
  39. main character is walking down the street reading a newspaper and doesn't
  40. seem to realize how many life-threatening events are occuring all around,
  41. and ultimately arrives home without a scratch or a clue.
  42.